package com.yixiaobai.swimming.mapper;

import com.yixiaobai.swimming.entity.Employer;
import org.springframework.web.bind.annotation.RequestParam;

public interface VEmplyerMapper extends EmployerMapper{

    Employer queryByUsername(@RequestParam("username") String username);

    Employer queryByPhone(@RequestParam("phone") String phone);

    Employer queryByUsernameAndPwd(@RequestParam("username") String username,
                                   @RequestParam("password") String password);

    Integer queryUtypeByAddUser(@RequestParam("adduser") String adduser);


    Integer deleteEmployerByDeleteUser(@RequestParam("username") String username);
}
